<?php
/**
 * Created by PhpStorm.
 * User: zhangrxiang
 * Date: 2017/6/21
 * Time: 10:59
 * Project name: PHPTEST
 * File name: 1.php
 * @copyright Copyright (c) 2016 ZRX Software LLC
 * @license https://github.com/zhangrxiang
 * @since 1.0.0
 */

//* Set the activation hook for a plugin.
//register_activation_hook( __FILE__, 'XXX_install' );
function register_activation_hook($file, $function) {}


//* Set the deactivation hook for a plugin.
//register_deactivation_hook( __FILE__, 'wpm_uninstall' );
function register_deactivation_hook($file, $function) {}


//add_action('admin_menu', 'xxx_menu');

//* Add a top-level menu page.
function add_menu_page(
	$page_title,
	$menu_title,
	$capability, //The capability required for this menu to be displayed to the user.
	$menu_slug, //The slug name to refer to this menu by (should be unique for this menu)
	$function = '', //The function to be called to output the content for this page.
	$icon_url = '', //The position in the menu order this one should appear.
	$position = null
) {}

//* Add a submenu page.
function add_submenu_page(
	$parent_slug,
	$page_title,
	$menu_title,
	$capability,
	$menu_slug,
	$function = ''
) {}

//* Strips out all characters that are not allowable in an email.
function sanitize_email( $email ) {}
